package com.alks.function.service.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.PcLotGroup;
import com.alks.entity.data.entity.PcPackType;
import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.request.stockdept.pcfactorystockwork.FinishRecHisRequest;
import com.alks.function.data.request.stockdept.pcfactorystockwork.FinishRecStoreRequest;
import com.alks.function.data.request.stockdept.pcfactorystockwork.FinishRecTempRequest;

import java.util.List;

/**
 * @author: chen
 * @date: 2024/11/12
 * @description: 成品收发
 */
public interface IFinishRecService {

    /**
     * 成品收发分页查询
     * @param request
     * @return
     */
    ResponseInfo finishRecTempQuery(FinishRecTempRequest request);


    /**
     * 成品收发历史分页查询
     * @param request
     * @return
     */
    ResponseInfo finishRecHistoryQuery(FinishRecHisRequest request);

    /**
     * 获取装箱方式
     * @param searchKey
     * @return
     */
    List<PcPackType> selectPackTypeCombo(String searchKey);

    /**
     * 获取配码列表
     * @param lotNo    指令号
     * @param collectType I 入库  O 出库
     * @return
     */
    ResponseInfo groupNos(String lotNo, String collectType);

    /**
     * 成品收发库存操作
     * @param request
     * @return
     */
    ResponseInfo updateFinishStore(FinishRecStoreRequest request);

    /**
     * 删除明细
     * @param id
     * @return
     */
    ResponseInfo delRecord(Long id);
}
